package com.jinyou.chengfengshop.Constant;

import static com.jinyou.chengfengshop.Constant.ApiConstants.base_host;

/**
 * 接口地址
 * Created by zhuzhiqiang on 2018/9/20.
 */

public class AppUrl {
    //====================登录接口地址 开始====================
    //注册获取验证码
    public static final String HOME_USER_REGISTER_GETTELCODE = base_host + "/deliver/oauth/shop/login/tel-code/get";
    //通过验证码注册
    public static final String HOME_USER_REGISTER_BYTELCODE = base_host + "/deliver/oauth/shop/login/tel-code/by";
    //获取尚未被接单的配送单列表:  发单中
    public static final String ORDER_LIST_UNTAKE = base_host + "/deliver/order/shop/untake/list";
    //获取尚未完成的配送单列表:  配送中
    public static final String ORDER_LIST_UNDONE = base_host + "/deliver/order/shop/undone/list";
    //获取已经完成的配送单
    public static final String ORDER_LIST_DONE = base_host + "/deliver/order/shop/done/list";
    //获取发货地址
    public static final String SHOP_LIST_ADDR = base_host + "/deliver/shop/addr/list";
    //商户发单
    public static final String ORDER_ADD = base_host + "deliver/order/add";
    //商户花费
    public static final String SHOP_COST = base_host + "deliver/shop/statis/byDay";
    //商户钱包
    public static final String SHOP_WALLET = base_host + "deliver/user/info/wallet";
    //充值列表
    public static final String RECHARGE_LIST = base_host + "deliver/admin/recharge/list";
    //创建充值订单
    public static final String RECHARGE_CREAT = base_host + "deliver/recharge/shop/order/add";
    //获取支付凭证
    public static final String RECHARGE_SIGN = base_host + "deliver/recharge/shop/order/sign";
    //消息列表
    public static final String MESSAGE_LIST = base_host + "deliver/notice/user/list";
    //骑手位置
    public static final String RIDER_LOCAL = base_host + "deliver/rider/local/addr";
    //营业类型
    public static final String SHOP_TYPE = base_host +"deliver/admin/catalog/shop/list";
    //注册验证码
    public static final String SHOP_REGIST_CODE = base_host +"deliver/admin/shop/reg/tel-code/get";
    //商户注册
    public static final String SHOP_REGIST = base_host +"deliver/admin/shop/reg";
    //充值回调
    public static final String RECHARGE_CALLBACK = base_host +"deliver/recharge/shop/order/pay/notify";
    //商户取消发单
    public static final String SHOP_ORDER_CANCEL = base_host +"deliver/order/cancel";

}
